package ren.nearby.home;

import com.cleveroad.slidingtutorial.PageFragment;
import com.cleveroad.slidingtutorial.TransformItem;

/**
 * Created by Administrator on 2018/1/3 0003.
 */

public class SecondCustomPageFragment extends PageFragment {
    @Override
    protected int getLayoutResId() {
        return R.layout.home_fragment_page_second;
    }

    @Override
    protected int getBackgroundColorResId() {
        return android.R.color.holo_green_dark;
    }

    @Override
    public int getRootResId() {
        return R.id.rootSecondPage;
    }

    @Override
    protected TransformItem[] provideTransformItems() {
        return new TransformItem[]{
                new TransformItem(R.id.ivFirstImage, true, 20),
                new TransformItem(R.id.ivSecondImage, false, 6),
                new TransformItem(R.id.ivThirdImage, true, 8),
                new TransformItem(R.id.ivFourthImage, false, 10),
                new TransformItem(R.id.ivFifthImage, false, 3),
                new TransformItem(R.id.ivSixthImage, false, 9),
                new TransformItem(R.id.ivSeventhImage, false, 14) ,
                new TransformItem(R.id.ivEighthImage, false, 7)
        };
    }
}
